<div class="modal-content" >
  <div class="modal-header">
    <h4 class="modal-title" >添加教师</h4>
    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
      <span aria-hidden="true">×</span>
    </button>
  </div>
<div class="modal-body">
    <form class="form-inline">
        <div class="form-group" style="float:left;margin-bottom: 10px" ng-show="form.fk_unit!='self'">
            <select class="form-control" ng-options="unit.id as unit.showname for unit in unitList" ng-model="form.fk_unit">
                <option value="">==学校==</option>
            </select>
        </div>
        <div class="form-group" style="float:left;margin-bottom: 10px">
            <input ng-model="form.name" type="text" class="form-control" placeholder="姓名"/>
        </div>
        <div class="form-group" style="float:left;margin-bottom: 10px">
            <input ng-model="form.email" type="text" class="form-control" placeholder="邮箱地址"/>
        </div>
        <div class="form-group" style="float:left;margin-bottom: 10px">
            <input ng-model="form.phone" type="text" class="form-control" placeholder="手机"/>
        </div>
        <div class="form-group" style="float:left;margin-bottom: 10px">
            <input ng-model="form.sfzjh" type="text" class="form-control" placeholder="身份证"/>
            <button ng-click="select()" type="submit" class="btn btn-secondary"><i class="iconfont icon-search"></i>&nbsp;查询</button>
        </div>
    </form>
 <table class="table table-hover table-bordered">
      <thead>
        <tr>
          <th class="table-th-checkbox" ><input type="checkbox" ng-click="checkAll($event.target)" /></th>
          <th column="name" class="sorting" ng-click="order($event.target)">姓名</th>
          <th column="sfzjh" class="sorting" ng-click="order($event.target)">身份证号</th>
          <th column="email" class="sorting" ng-click="order($event.target)">邮箱地址</th>
          <th column="phone" class="sorting" ng-click="order($event.target)">手机</th>
        </tr>
      </thead>
      <tbody ng-switch on="page.current_num">
      	<tr ng-switch-when="0">
   		<td colspan="100" >查询无记录</td>
   		</tr>
        <tr ng-repeat="row in rows">
	      <td>
	      	<input type="checkbox" name="dataPk" value="{{row.id}}" />
	      </td>
          <td>{{row.name}}</td>
          <td>{{row.sfzjh}}</td>
          <td>{{row.email}}</td>
          <td>{{row.phone}}</td>
        </tr>
      </tbody>
 </table>
 <div ng-include="'plugin/frame/3.0.1/html/page.html'" class="div-page"></div>
 </div>
   <div class="modal-footer">
   <button ng-click="saveForm()" type="button" class="btn btn-success"><i class="iconfont icon-correct"></i>&nbsp;保存</button>
  </div>
</div>
 
